﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _004_继承
{
    internal class Program
    {
        
        static void Main(string[] args)
        {
            //BaseClass bc = new BaseClass();
            //bc.Function1();
            //bc.Function2();
            //bc.data1 = 12;
            //bc.data2 = "good";

            //DrivedClass dc1 = new DrivedClass();
            //dc1.Function2();
            //dc1.Function1();
            //dc1.data1 = 100;
            //Console.WriteLine(dc1.data1);
            Boss boss1 = new Boss(100, 100000, 20);
            boss1.Print();
        }
    }
}
